<div class='fui-page  fui-page-current' ng-if="pagedata.op=='list'">
    <div class='fui-content'>
	<div class="newcontent">
		<div class='content-empty' ng-if="pagedata.list.length<=0">
			<i class='icon icon-ditu'></i>
			<div>您还没有添加车辆</div>
		</div>
		<div class="fui-cell-group" style='margin-top:5px;' ng-repeat="item in pagedata.list">
			<div class="fui-cell">
					<div class="fui-cell-label" style="width:auto;padding-right:0.5rem">
						<img style="width:2.2rem" ng-src="{{tomedia(item.brandimg)|| '../addons/jy_cxjxiche/resource/images/cardefault.png'}}"/>
					</div>
					<div class="fui-cell-text">
						<div><span class="bold">{{item.brand}}</span> ({{item.code.p}} {{item.code.c}} {{item.code.number}})</div>
						<div class="title"><span class='red'>{{item.typetitle}}</span> <span class='mobile'>({{item.color}})</span></div>
					</div>
			</div>
			 <div class="fui-cell">
				<div class="fui-cell-info">
				<span class='pull-right'>
					<a class="external" ng-click="access_json('jy_cxjxiche/addcar//id='+item.id)" bindtap="click">
						<i class='icon icon-bianji'></i> 编辑
					</a>
					<a class='external' ng-click="access_json('jy_cxjxiche/mycar/del/id='+item.id)" bindtap="click">
						<i class='icon icon-shanchu'></i> 删除
					</a>
				</span>
				<label ng-click="post({},'/mycar/set/id='+item.id)">
					<input type="radio" class="fui-radio  fui-radio-danger" ng-checked="item.isdefault==1">
					设置默认
				</label>
				</div>
			</div>
	    </div>
	</div>
	<div class="weui_btn_area" style="margin:1rem 0.5rem">
		<button class="weui_btn weui_btn_primary" style="background:#cdab6a;" ng-click="access_json('jy_cxjxiche/addcar/')">添加车辆</button>
	</div>
    </div>
</div>